//
//  LoginInfo.h
//  ALianA
//  登录信息和呼叫信息
//  Created by fan on 2021/8/25.
//

#import <Foundation/Foundation.h>
#import <QtbClient/QtbClientListener.h>

@interface CallSetting : NSObject
@property (nonatomic, strong) NSString *callerNoForSend;
@property (nonatomic, strong) NSString *xnum;
@end

@interface LoginInfo : NSObject
@property (nonatomic, strong) NSString *account;
@property (nonatomic, assign) LoginType loginType;//登录类型
@property (nonatomic, strong) NSString *managerID;//座席所属企业ID
@property (nonatomic, strong) NSString *deptID;//座席所属部门ID
@property (nonatomic, strong) CallSetting *callSetting;
@end

@interface CallInfo : NSObject
@property (nonatomic, strong) NSString *caller;//记录的主叫发起方
@property (nonatomic, strong) NSString *callee;//被叫， 可能是关键字或者坐席
@property (nonatomic, assign) CallType callType;//呼叫类型
@property (nonatomic, assign) TargetType calleeType;//主叫，发起类型， 被叫对方类型
@property (nonatomic, strong) NSString *callID;
@property (nonatomic, strong) NSString *calleeReal;//真实的接听用户
@property (nonatomic, strong) CallInfo *thirdCall;
@end

